Skip to content

fix(auth): add recovery commands to auth rows - #2258

Closed
Ubehind wants to merge 1 commit into
jackwener:mainfrom
Ubehind:fix/auth-refresh-recovery-pr
Closed

fix(auth): add recovery commands to auth rows#2258
Ubehind wants to merge 1 commit into
jackwener:mainfrom
Ubehind:fix/auth-refresh-recovery-pr

Conversation

@Ubehind

@Ubehind Ubehind commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Description

Add a safe, structured recovery field to authentication status and refresh rows when a site is not logged in. The field provides the deterministic command opencli <site> login without exposing domains, account identifiers, or adapter error details.

Related issue: #1883

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🌐 New site adapter
  • 📝 Documentation
  • ♻️ Refactor
  • 🔧 CI / build / tooling

Checklist

  • I ran the checks relevant to this PR
  • I updated tests or docs if needed
  • I included output or screenshots when useful

Validation

  • npx vitest run --project unit src/commands/auth.test.ts
  • npx tsc --noEmit
  • npm run build
  • npm test
  • npm run check:silent-column-drop
  • npm run check:typed-error-lint
  • git diff --check

@Ubehind
Ubehind marked this pull request as ready for review August 6, 2026 03:52
@jackwener

Copy link
Copy Markdown
Owner

Closing from the fix sweep because this adds a new auth-output and recovery-command UX contract rather than fixing a demonstrated regression. It changes every status/refresh row and table schema to carry a mostly-empty column. Please reopen as a focused feature/RFC if desired, with product acceptance for the structured recovery shape and end-to-end proof that the advertised login command is valid across the intended site set.

@jackwener jackwener closed this Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants